import http from '@/utils/http'

export const uploadImageAPI=(data:FormData)=>{
    return http({
        url:"/api/v1/image/uploadImg",
        method:'POST',
        data
    })
}

export const showImageAPI=(imgUrl:string)=>{
    return http({
        url:'/api/v1/image/showImg',
        method:'GET',
        params:{
            imgUrl
        }
    })
}